package com.bjpowernode.javase.collection.linkedHashSetTest;

import java.util.LinkedHashSet;

public class OrderTestString {
    public static void main(String[] args) {
        LinkedHashSet<String> list = new LinkedHashSet<>();
        list.add("a");
        list.add("a");
        list.add("b");
        list.add("f");
        list.add("d");
        list.forEach(System.out::println);

    }
}
